package day0512;

public class Test5 {
    public static void main(String[] args) {
        double score=34.67;
        //判断成绩等级
        if(0<=score &&  score<60){
            System.out.println("不及格");
        }else if(60<=score &&  score<75){
            System.out.println("中等");
        }else if(75<=score &&  score<85){
            System.out.println("良好");
        }else if(85<=score &&  score<=100){
            System.out.println("优秀");
        }else{
            System.out.println("成绩不合法");
        }
    }
}
